
import { useRouter } from 'vue-router';

export function navigation(path, mapname) {
  const router = useRouter();
  router.push({
    name: path,
    query: {
      mapname,
    },
  });
}